package com.example.administrator.readbook.greendao;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by Administrator on 2018/7/9.
 */
@Entity
public class GreenDaoReadChapterBean {
    @Id
    private String readChapterId;
    @Unique
    private String readChapterBookId;
    private String readChapterBookName;
    private String readChapterBookReadChapter;
    private String readChapterPosition;

    @Generated(hash = 1054494772)
    public GreenDaoReadChapterBean(String readChapterId, String readChapterBookId,
                                   String readChapterBookName, String readChapterBookReadChapter,
                                   String readChapterPosition) {
        this.readChapterId = readChapterId;
        this.readChapterBookId = readChapterBookId;
        this.readChapterBookName = readChapterBookName;
        this.readChapterBookReadChapter = readChapterBookReadChapter;
        this.readChapterPosition = readChapterPosition;
    }

    @Generated(hash = 76941223)
    public GreenDaoReadChapterBean() {
    }

    public String getReadChapterId() {
        return this.readChapterId;
    }

    public void setReadChapterId(String readChapterId) {
        this.readChapterId = readChapterId;
    }

    public String getReadChapterBookId() {
        return this.readChapterBookId;
    }

    public void setReadChapterBookId(String readChapterBookId) {
        this.readChapterBookId = readChapterBookId;
    }

    public String getReadChapterBookName() {
        return this.readChapterBookName;
    }

    public void setReadChapterBookName(String readChapterBookName) {
        this.readChapterBookName = readChapterBookName;
    }

    public String getReadChapterBookReadChapter() {
        return this.readChapterBookReadChapter;
    }

    public void setReadChapterBookReadChapter(String readChapterBookReadChapter) {
        this.readChapterBookReadChapter = readChapterBookReadChapter;
    }

    public String getReadChapterPosition() {
        return this.readChapterPosition;
    }

    public void setReadChapterPosition(String readChapterPosition) {
        this.readChapterPosition = readChapterPosition;
    }

    @Override
    public String toString() {
        return "GreenDaoReadChapterBean{" +
                "readChapterId='" + readChapterId + '\'' +
                ", readChapterBookId='" + readChapterBookId + '\'' +
                ", readChapterBookName='" + readChapterBookName + '\'' +
                ", readChapterBookReadChapter='" + readChapterBookReadChapter + '\'' +
                ", readChapterPosition='" + readChapterPosition + '\'' +
                '}';
    }
}
